<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/4/13
 * Time: 14:16
 */

namespace app\controller;

use rap\web\Request;
use rap\web\Response;

class MappController
{
    public function authentication(Request $request, Response $response) {


        $response->assign("title", 123);
        return 'mapp/authentication';
    }

    public function check(Request $request, Response $response) {

        $response->assign("title", 123);
        return 'mapp/check';
    }

    public function chosecar(Request $request, Response $response) {

        $response->assign("title", 123);
        return 'mapp/chosecar';
    }

    public function endorsement(Request $request, Response $response) {

        $response->assign("title", 123);
        return 'mapp/endorsement';
    }

    public function gasstation(Request $request, Response $response) {

        $response->assign("title", 123);
        return 'mapp/gasstation';
    }
    public function price(Request $request, Response $response) {

        $response->assign("title", 123);
        return 'mapp/price';
    }

    public function violation(Request $request, Response $response) {

        $response->assign("title", 123);
        return 'mapp/violation';
    }

    public function violationdetail(Request $request, Response $response) {

        $response->assign("title", 123);
        return 'mapp/violationdetail';
    }

    public function violationResults(Request $request, Response $response) {
        $response->assign("title", 123);
        return 'mapp/violationResults';
    }
}